//活动详情页
const details = () => import('views/activity/details')
export default {
    path: '/details',
    name: 'details',
    component: details,
    meta: { navShow: false },
    beforeEnter(to, from, next) {
        if (!document.cookie) {
            alert('你未登录请先登录账号')
            next({ name: 'login' })
        } else {
            next()
        }
    },
}